<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>通讯人添加</title>
     <style type="text/css">
  body{
  background:url(image/bg.jpg);
  background-size:1400px 768px;
  }
  </style>
</head>
<body>
	<center>
		<h1>通讯人添加页面</h1>
		<form action="${pageContext.request.contextPath }/addcontact" method="post">
			${addmsg }
			<table>
				<tr>
					<td>姓名</td>
					<td><input type="text" name="name"/></td>
				</tr>
				<tr>
					<td>备注(可不填写)</td>
					<td><input type="text" name="rem"/></td>
				</tr>
				<tr>
					<td>电话</td>
					<td><input type="text" name="phone"/></td>
				</tr>
				<tr>
					<td>地址</td>
					<td><input type="text" name="addr"/></td>
				</tr>
				<tr><td><input type="submit" value="添加"/></td><td><a href="${pageContext.request.contextPath }/findall">返回</a></td></tr>
			</table>
		</form>
		
	</center>
</body>
</html>